import request from '../request';
import config from './userapi';
//login
export const setLogin = (options?:any)=> {
	return request.post(config.setLogin,options)
};
//register
export const setRegister = (options?:any)=> {
	return request.post(config.setRegister,options)
};
// smsCode 
export const setSmsCode = (options?:any)=> {
	return request.post(config.setSmsCode,options)
};
//userInfo
export const getUserInfo = ()=> {
	return request.get(config.getUserInfo)
};
